﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using cndp.Model.IModel;

namespace cndp.Model
{
    /// <summary>
    /// Client - Clientklassen innehåller information om en dator som har "connectat" till servern, Ip-address och portnummer.
    /// </summary>
    public class Client : IClient
    {
        public string ipAddress;
        public int port;

        public Client()
        {
            ipAddress = "";
            port = -1;
        }

        public Client(string ipAddress, int port) 
        {
            this.ipAddress = ipAddress;
            this.port = port;
        }

        ~Client()
        {

        }
    }
}
